package com.atguigu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

// 开启缓存
@EnableCaching
// 扫描Mapper
@MapperScan("com.atguigu.mapper")
@SpringBootApplication
public class SpringBoot06Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringBoot06Application.class, args);
    }

}
